package com.spzx.payment.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.spzx.common.core.web.domain.BaseEntity;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 付款信息表
 * </p>
 *
 * @author biu
 * @since 2025-03-21
 */
@Getter
@Setter
@TableName("payment_info")
@ApiModel(value = "PaymentInfo对象", description = "付款信息表")
public class PaymentInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("订单号")
    private String orderNo;

    @ApiModelProperty("付款方式：1-微信 2-支付宝")
    private Byte payType;

    @ApiModelProperty("交易编号（微信或支付）")
    private String tradeNo;

    @ApiModelProperty("支付金额")
    private BigDecimal amount;

    @ApiModelProperty("交易内容")
    private String content;

    @ApiModelProperty("支付状态：0-未支付 1-已支付 -1-关闭")
    private Integer paymentStatus;

    @ApiModelProperty("回调时间")
    private Date callbackTime;

    @ApiModelProperty("回调信息")
    private String callbackContent;
}
